﻿using System;
using System.Collections.Generic;
using System.Linq;
using NeuralLib;

namespace NEATlib
{

    public class Genom:ICloneable
    {
        public List<ConnectionGene> Connections { get; set; }

        public List<NeuronGene> Neurons { get; set; }

        public int SpecieId { get; set; }

        public Genom(List<ConnectionGene> connections, List<NeuronGene> neurons)
        {
            Connections = connections;
            Neurons = neurons;
        }

        public Genom()
        {
            Connections = new List<ConnectionGene>();
            Neurons = new List<NeuronGene>();
        }

        public object Clone()
        {
            return new Genom(Connections.Clone(), Neurons.Clone());
        }

       
    }
}
